import { Injectable } from '@angular/core';
import { HttpClient, HttpParams, HttpHeaders } from '@angular/common/http';
import { Observable } from 'rxjs/internal/Observable';
import { AppSettings } from '../config/app-settings';
import * as _ from 'lodash';
@Injectable({
    providedIn: 'root'
})
export class AppUtilsService {

    constructor(private httpClient: HttpClient) { }

    stringToDate(dateStr:string):Date{
        return dateStr ? new Date(dateStr) : null;
    }

   
}

